package com.mz.mattress.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mz.mattress.api.entity.MerchantGrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MerchantGradeMapper extends BaseMapper<MerchantGrade> {

    @Select("select * from mz_merchant_grade where deleted=0")
    List<MerchantGrade> list();

}
